import { useLocation } from "react-router-dom"
//获取queryString
import qr from "query-string"
const Friend = () => {
    let location = useLocation()
    console.log(location)
    let query = qr.parse(location.search)
    console.log(query)
    return (
        <fieldset>
            <legend>朋友</legend>
            <h1>盆友</h1>
        </fieldset>
    )
}

export default Friend